<template>
  <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
  <MyButton :btnStyle="btnStyle" @myClick="myClick" btnName="按钮页面"/>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
export default{
  name: 'App',
  setup() {
    const myClick = () => {
      console.log("22222")
    }
    const btnStyle = {
      color: "#E40A0A"
    }
    return {
      myClick,
      btnStyle,
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
